package com.cgwx.tcservice.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author GaoWei
 * @Date 2023/9/14 - 17:39
 */

@Data
@Api(tags = "上传遥控指令配置表格实体类，表格第二行。每一个sheet的第二行，对应一条遥控指令，对应tc_command_config表的一行数据")
public class TcCommandExcelVo {

    @ApiModelProperty(value = "遥控指令名称")
    @ExcelProperty("遥控名称")
    private String tcCommandName;

    @ApiModelProperty(value = "遥控指令代号")
    @ExcelProperty("遥控代号")
    private String tcCommandCode;

    @ApiModelProperty(value = "指令序号")
    @ExcelProperty("指令序号")
    private String tcNumber;

    @ApiModelProperty(value = "部件代码")
    @ExcelProperty("部件代码")
    private String tcComponentCode;

    @ApiModelProperty(value = "指令编码")
    @ExcelProperty("指令编码")
    private String tcEncoding;

    @ApiModelProperty(value = "指令类型码(00:固定参数指令;01:可变参数指令)")
    @ExcelProperty("指令类型码")
    private String tcCommandType;

    @ApiModelProperty(value = "指令执行时间秒")
    @ExcelProperty("执行时间-秒")
    private String tcExecutionTime;
}
